package com.ruoyi.find.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 文章分类对象 article_category
 * 
 * @author gjq
 * @date 2025-09-16
 */
public class ArticleCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 栏目名称 */
    @Excel(name = "栏目名称")
    private String categoryName;

    /** 栏目别名 */
    @Excel(name = "栏目别名")
    private String categoryAlias;

    /** 排序 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排序", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sort;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }

    public void setCategoryAlias(String categoryAlias) 
    {
        this.categoryAlias = categoryAlias;
    }

    public String getCategoryAlias() 
    {
        return categoryAlias;
    }

    public void setSort(Date sort) 
    {
        this.sort = sort;
    }

    public Date getSort() 
    {
        return sort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryName", getCategoryName())
            .append("categoryAlias", getCategoryAlias())
            .append("sort", getSort())
            .append("status", getStatus())
            .toString();
    }
}
